@import "default";

.show-switch-container {
  width: 100%;
  height: 72px;
  min-width: 1160px;
  padding-top: 16px;
  .show-switch {
    width: 239px;
    height: 56px;
    margin: 0 auto;
    background: url(/images/show_switch.png) no-repeat center center;
    background-size: 100%;
    display: flex;
    .showbutton {
      width: 126px;
      height: 56px;
      font-size: 20px;
      color: #bcbcbc;
      line-height: 56px;
      text-align: center;
      font-weight: 400;
      background: url(/images/show_switch_button.png) no-repeat center center;
      background-size: 100%;
      cursor: pointer;
    }
    .showbutton-select {
      color: #212121;
      font-weight: 700;
      background-image: url(/images/show_switch_button_select.png);
    }
  }
}
.banner-wrapper {
  min-width: 1160px;
  .swiper-container {
    position: relative;
    .swiper-pagination-bullet {
      width: 12px;
      height: 12px;
      background-color: #fff;
      opacity: 1;
    }
    .swiper-pagination-bullet-active {
      background-color: #fb7299;
      border-radius: 23px;
      width: 25px;
      height: 12px;
    }
    .swiper-slide {
      img {
        min-height: 175px;
        cursor: pointer;
        display: block;
      }
    }
  }
}

.selector-wrapper {
  width: 100%;
  height: 120px;
  background-color: #fff;
  box-shadow: 0 0 15px 0 hsl(203deg 6% 45% / 9%),
    0 1px 0 0 hsl(204deg 208% 215% / 30%);
  .wrapper {
    box-sizing: border-box;
    width: 1160px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    .title {
      color: #99a2aa;
      width: 90px;
      font-size: 12px;
      letter-spacing: 0;
    }
    .selector-content {
      flex: 1 1;
      ul {
        font-size: 12px;
        color: #6d757a;
        line-height: 14px;
        display: flex;
        .first {
          width: 140px;
        }
        .active {
          color: #fb7299;
        }
        li {
          cursor: pointer;
          width: 90px;
          &:hover {
            color: #fb7299;
          }
        }
      }
    }
  }
  .city-selector-wrapper,
  .type-selector-wrapper {
    border-bottom: 1px dashed #e5e9ef;
  }
}

.project-list-wrapper {
  width: 1160px;
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 55px;

  .project-list {
    width: 1160px;
    margin: 0 auto;
    div:nth-child(even) {
      margin-right: 0;
    }
    &-item {
      width: 560px;
      height: 237px;
      margin-top: 60px;
      margin-right: 40px;
      background-color: #fff;
      box-shadow: 0 0 15px 0 hsl(203deg 6% 45% / 9%);
      border-radius: 8px;
      transition: transform 0.2s;
      cursor: pointer;
      position: relative;
      display: flex;
      float: left;
      &:hover {
        box-shadow: 0 15px 20px 0 hsl(203deg 6% 45% / 40%);
        .project-list-item-img {
          transform: translate3d(0, -10px, 0);
        }
      }
      &-img {
        transition: transform 0.1s;
        background: #fff;
        box-shadow: 3px 3px 2px 0 hsl(203deg 6% 45% / 30%);
        border-radius: 8px;
        left: 20px;
        bottom: 24px;
        position: absolute;
        width: 175px;
        height: 233px;
        background-repeat: no-repeat;
        background-size: 100% 100%;
      }
      &-detail {
        margin-left: 223px;
        .detail-title {
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          margin-top: 30px;
          width: 286px;
          height: 48px;
          font-size: 18px;
          color: #222;
          letter-spacing: 0;
          line-height: 24px;
        }
        .detail-time {
          margin-top: 19px;
          display: flex;
          align-items: center;
          height: 17px;
          font-size: 14px;
          color: #999;
          .icon {
            margin-top: 1px;
            margin-right: 8px;
            display: inline-block;
            width: 12px;
            height: 13px;
            background-repeat: no-repeat;
            background-size: 100% 100%;
          }
          .time-icon {
            background: url();
            background-size: 100%;
          }
        }
        .detail-address {
          margin-top: 10px;
          display: flex;
          align-items: center;
          height: 17px;
          font-size: 14px;
          color: #999;
          .icon {
            margin-top: 1px;
            margin-right: 8px;
            display: inline-block;
            width: 12px;
            height: 13px;
            background-repeat: no-repeat;
            background-size: 100% 100%;
          }
          .address-icon {
            background: url();
            background-size: 100%;
          }
          .venue-name-and-address {
            flex: 1 1;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            max-width: 260px;
          }
        }
      }
      &-price {
        margin-top: 40px;
        color: #f25d8e;
        .not-free {
          display: flex;
          align-items: flex-end;
          .price-symbol {
            align-self: flex-end;
            font-size: 18px;
            line-height: 18px;
          }
          .price {
            margin-left: 4px;
            font-size: 28px;
            letter-spacing: 1px;
            line-height: 24px;
          }
          .start {
            line-height: 12px;
            margin-left: 5px;
            font-size: 12px;
            color: #999;
            margin-bottom: 2px;
          }
          .promo-item {
            display: inline-block;
            max-width: 80px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            width: auto;
            height: 16px;
            line-height: 16px;
            margin-left: 8px;
            color: #fb7299;
            font-size: 12px;
            text-align: center;
            border: 1px solid #fb7299;
            border-radius: 1px;
          }
          .list-end {
            margin-left: 8px;
            line-height: 18px;
            font-size: 11px;
            color: #999;
            letter-spacing: 0.46px;
            &::before {
              float: left;
              width: 1px;
              height: 9px;
              margin: 4px 3px 5px 5px;
              font-size: 0;
              clear: both;
              content: "";
              border-left: 1px solid #ccc;
            }
            &-icon {
              float: left;
              width: 12px;
              height: 12px;
              margin: 3px 5px;
              background: url()
                50% no-repeat;
              //   background-size: contain;
              background-size: 100%;
            }
          }
        }
      }

      .can-not-sale {
        font-size: 20px;
        color: #99a2aa;
        letter-spacing: 1px;
        line-height: 20px;
      }
    }
  }
}


